/**
 * @author zyj
 * @date 2022年06月10日 9:30
 */
public class Test {
    public static void main(String[] args) {
        Threads t = new Threads();
        t.start();
        Threads t1 = new Threads();
        t1.start();
    }
}
class Threads extends Thread{
    @Override
    public void run() {
        for (int i = 0; i <5 ; i++) {
            System.out.println(Thread.currentThread().getName()+" "+i);
        }
    }
}